<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>模版数据管理 HDSysCms</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="<?php echo getcdnurlhost() ?>/admin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="<?php echo getcdnurlhost() ?>/admin/style/admin.css" media="all">
</head>
<body data="HDSYSCMS 2021本系统受国家版权局保护请勿破解或者二次开发传播">
<div class="layui-col-md12">
<div style="padding-left: 10px;line-height: 35px;" class="layui-card">
<span class="layui-breadcrumb">
<a href="">模版管理</a>
<a href=""><?php echo set_get('id') ?></a>
<a href="index.php?m=manage&c=Ad&a=table&id=<?php echo set_get('id') ?>">动态标签</a>
<a href="index.php?m=manage&c=Ad&a=edit&id=<?php echo set_get('id') ?>">新增</a>
</span>
</div>
</div>
<div class="layui-fluid">
<div class="layui-row layui-col-space15">
<div class="layui-col-md12">
<div class="layui-card">
<div class="layui-tab layui-tab-brief" lay-filter="component-tabs-hash">
<ul class="layui-tab-title">
<li class="layui-this" lay-id="11">新建模版数据</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form class="layui-form" action="">
<div class="layui-form-item">
<label class="layui-form-label">名称</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="name" value="" placeholder="如首页轮播图1" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux">如首页轮播图1</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">调用代号</label>
<div class="layui-input-inline" style="width: 300px;">
<input type="text" name="codes" value="" placeholder="Banna" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux">如:Banna 只能字母数字</div>
</div>
<input type="hidden" name="id" value="<?php echo set_get('id'); ?>" >
<div class="layui-form-item">
<label class="layui-form-label"></label>
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="setup">确认新建</button>
</div>
<div class="layui-form-mid layui-word-aux">模块保存在模版目录下 模版目录/<?php echo set_get('id'); ?>/modular/ 目录里</div>
</div>
</form>
</div>
</div>
</div>
<style>.logos {width: 200px;height: 65px;border: #EEEEEE;border-style: solid;border-width: 1px;}</style>
</div>
</div>
</div>
</div>
<?php adminechohtnl(); ?>
<div id="foot">Copyright © 2019-2023 <a href="https://www.HDSysCms.Com?pro" target="_blank">HDSysCms <?php echo HDSYS_VERSION; ?></a> <br>
All Rights Reserved </div>
<script src="<?php echo getcdnurlhost() ?>/admin/layui/layui.js"></script>
<script>layui.config({base: '<?php echo getcdnurlhost() ?>/admin/'}).use(['form', 'layer', 'element', 'upload'], function() {var admin=layui.admin,$=layui.$,form=layui.form,element=layui.element,upload=layui.upload,router=layui.router();element.render();var layid=router.hash.replace(/^#layid=/, '');layid && element.tabChange('component-tabs-hash', layid);element.on('tab(component-tabs-hash)', function(elem) {location.hash='/' + layui.router().path.join('/') + '#layid=' + $(this).attr('lay-id');});form.on('submit(setup)', function(data) {data=data.field;$.ajax({type: "post",url: 'index.php?m=manage&c=Ad&a=adds_ajax',data: data,dataType: "json",success: function(ret) {layer.msg(ret.msg);if (ret.code==1) {location.href='index.php?m=manage&c=Ad&a=edit&fileid=' + ret.file + '&id=<?php echo set_get('id'); ?>'}}});return false;});});</script>
</body>
</html>